﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 附件保存DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class AttachmentAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public AttachmentAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public AttachmentAITDTOData(  System.String entityFullName  , System.String entityCode  , System.String dB  , System.String saveDir  )
		{
			initData();
			this.EntityFullName = entityFullName;
			this.EntityCode = entityCode;
			this.DB = dB;
			this.SaveDir = saveDir;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 实体名称
		/// 附件保存DTO.Misc.实体名称
		/// </summary>
		private System.String m_entityFullName ;
		[DataMember(IsRequired=false)]
		public System.String EntityFullName
		{
			get	
			{	
				return m_entityFullName ;
			}
			set	
			{	
				m_entityFullName = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体Code
		/// 附件保存DTO.Misc.实体Code
		/// </summary>
		private System.String m_entityCode ;
		[DataMember(IsRequired=false)]
		public System.String EntityCode
		{
			get	
			{	
				return m_entityCode ;
			}
			set	
			{	
				m_entityCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 数据库名称
		/// 附件保存DTO.Misc.数据库名称
		/// </summary>
		private System.String m_dB ;
		[DataMember(IsRequired=false)]
		public System.String DB
		{
			get	
			{	
				return m_dB ;
			}
			set	
			{	
				m_dB = value ;	
			}
		}
			
		

		/// <summary>
		/// 保存目录
		/// 附件保存DTO.Misc.保存目录
		/// </summary>
		private System.String m_saveDir ;
		[DataMember(IsRequired=false)]
		public System.String SaveDir
		{
			get	
			{	
				return m_saveDir ;
			}
			set	
			{	
				m_saveDir = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
								
		#endregion 
	} 	
}
